/*
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 2 of the License, or
 *      (at your option) any later version.
 *      
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *      
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */
#ifndef MUSIC_H_
#define MUSIC_H_
// ::IMPORTANT INFORMATION::
// This sound library is currently Linux ONLY
// Will switch to native Windows when on that platform later
// Also, it can only play one song at a time currently, which is a pain in the ass
// TODO: Make it be able to play more than one song at a time
#include "Main.hpp"

//Music Controls
bool InitMusic(int argc, char * const argv[]); // Initiates the Sound System
void ShutdownMusic(); // Shuts down the sound system
void MusicVolume(int Volume); // Set Global Volume, TODO

//Song Controls
int OpenSong(std::string filename, bool repeat = false); // Open a song
int OpenSong(const char *filename, bool repeat = false); // Open song with a char array
void PlaySong(int Variable); // Play the song
bool IsPlaying(int Variable); // Check if song is playing
void StopSong(int Variable); // Stops the song
void PauseSong(int Variable); // Pauses/ Unpauses Song
void SongVolume(int Variable, int Volume); // Set the volume of a single song, TODO
void CloseSong(int Variable); // Close a song, You do NOT need to stop a song before you close it //
#endif
